package ystp.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import ystp.model.Zhuankeyaopinjieguo;
import ystp.model.ZhuankeyaopinjieguoExample;

public interface ZhuankeyaopinjieguoMapper {

    Object getZhuanKeResultCount(@Param("xiangmuid") String mmxiangmuId,
                                @Param("userid") String mmuserId,
                                @Param("result") String mmresult);

    List<Map<String, Object>> getGuizeCount(@Param("userid") String mmuserId,
                                            @Param("xiangmuid") String mmxiangmuId,
                                            @Param("guizebianhao") String mmguizebianhao);

    List<Map<String, Object>> getJiCaiAgreedCount(@Param("userid") String mmuserId,
                                                  @Param("xiangmuid") String mmxiangmuId);

    List<Map<String, Object>> getZhuSheJiAgreedCount(@Param("userid") String mmuserId,
                                                  @Param("xiangmuid") String mmxiangmuId);

    List<Map<String, Object>> getChuangXinAgreedCount(@Param("userid") String mmuserId,
                                                      @Param("xiangmuid") String mmxiangmuId);

    List<Map<String, Object>> getJunGongAgreedCount(@Param("userid") String mmuserId,
                                                      @Param("xiangmuid") String mmxiangmuId);

    int countByExample(ZhuankeyaopinjieguoExample example);

    int deleteByExample(ZhuankeyaopinjieguoExample example);

    int deleteByPrimaryKey(String id);

    int insert(Zhuankeyaopinjieguo record);

    int insertSelective(Zhuankeyaopinjieguo record);

    List<Zhuankeyaopinjieguo> selectByExample(ZhuankeyaopinjieguoExample example);

    Zhuankeyaopinjieguo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Zhuankeyaopinjieguo record, @Param("example") ZhuankeyaopinjieguoExample example);

    int updateByExample(@Param("record") Zhuankeyaopinjieguo record, @Param("example") ZhuankeyaopinjieguoExample example);

    int updateByPrimaryKeySelective(Zhuankeyaopinjieguo record);

    int updateByPrimaryKey(Zhuankeyaopinjieguo record);
}